/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Gnuplot.Plot;

/**
 * A class to handle the dates when plotting data from a file
 * @author Baardsen
 */
public class GnuplotDateFormat {
    private String oldFormat = "";
    private String newFormat = "";
    
    /**
     * Default date format
     */
    public  String DEFAULT = "%d.%m.%Y_%H:%M:%S";

 
    /**
     * Old format from the textfile
     * @param format
	 * String with the date format
     */
    public void setOldFormat(String format){ this.oldFormat = format; }

    /**
     * The new format you want to represent the graph with
     * @param newFormat
	 * String with the new format
     */
    public void setOutputFormat(String newFormat){ this.newFormat = newFormat; }

 
    /**
     * Getting oldformat
     * @return
	 * String with the oldformat
     */
    public String getOldFormat() { return this.oldFormat; }
    /**
     * Getting the new format
     * @return
	 * String with the new format
     */
    public String getNewFormat() { return this.newFormat; }


}
